import Layout from '@/views/layout/Layout'

const activity = {
  path: '/systemManage',
  component: Layout,
  name: 'systemManage',
  alwaysShow: true,
  meta: { title: 'systemManage', icon: 'systemManage' },
  children: [
    {
      path: 'store',//门店管理
      component: () => import('@/views/after-sale/systemManage/store/index'),
      name: 'store',
      meta: { title: 'store' }
    },
    {
      path: 'addStore',//新增门店
      component: () => import('@/views/after-sale/systemManage/store/components/addStore'),
      name: 'addStore',
      hidden: true,
      meta: { title: 'addStore' }
    },
    {
      path: 'updataStore',//修改门店
      component: () => import('@/views/after-sale/systemManage/store/components/addStore'),
      name: 'updataStore',
      hidden: true,
      meta: { title: 'updataStore' }
    },
    {
      path: 'showStore',//查看门店
      component: () => import('@/views/after-sale/systemManage/store/components/addStore'),
      name: 'showStore',
      hidden: true,
      meta: { title: 'showStore' }
    },
    {
      path: 'insuranceManage',//保险管理
      component: () => import('@/views/after-sale/systemManage/insurance/index'),
      name: 'insuranceManage',
      meta: { title: 'insuranceManage' },
      children: [
        {
          path: 'company',
          component: () => import('@/views/after-sale/systemManage/insurance/company/index'),
          name: 'insuranceCompany',
          meta: { title: 'insuranceCompany' }
        },
        {
          path: 'addCompany',
          component: () => import('@/views/after-sale/systemManage/insurance/company/add/index'),
          hidden: true,
          name: 'insuranceAddCompany',
          meta: { title: 'insuranceAddCompany' }
        },
        {
          path: 'branchCompany',
          component: () => import('@/views/after-sale/systemManage/insurance/branch-company/index'),
          name: 'insuranceBranchCompany',
          meta: { title: 'insuranceBranchCompany' }
        },
        {
          path: 'addBranchCompany',
          component: () => import('@/views/after-sale/systemManage/insurance/branch-company/add/index'),
          hidden: true,
          name: 'insuranceAddBranchCompany',
          meta: { title: 'insuranceAddBranchCompany' }
        },
        {
          path: 'agentCompany',
          component: () => import('@/views/after-sale/systemManage/insurance/agent-company/index'),
          name: 'insuranceAgentCompany',
          meta: { title: 'insuranceAgentCompany' }
        },
        {
          path: 'addAgentCompany',
          component: () => import('@/views/after-sale/systemManage/insurance/agent-company/add/index'),
          hidden: true,
          name: 'insuranceAddAgentCompany',
          meta: { title: 'insuranceAddAgentCompany' }
        },
        {
          path: 'species',
          component: () => import('@/views/after-sale/systemManage/insurance/species/index'),
          hidden: true,
          name: 'insuranceSpecies',
          meta: { title: 'insuranceSpecies' }
        },
      ]
    },
    {
      path: 'role',//职位管理
      component: () => import('@/views/after-sale/systemManage/role/index'),
      name: 'roleManager',
      meta: { title: 'roleManager' }
    },
    {
      path: 'roleInfo',//新增职位
      component: () => import('@/views/after-sale/systemManage/role/info/index'),
      name: 'roleInfoManager',
      hidden: true,
      meta: { title: 'roleInfoManager' }
    },
    {
      path: 'carModel',//车型管理
      component: () => import('@/views/after-sale/systemManage/carModel/index'),
      name: 'carModel',
      meta: { title: 'carModel' }
    },
    {
      path: 'addCarModel',//车型管理-新增
      component: () => import('@/views/after-sale/systemManage/carModel/addCarModel'),
      name: 'addCarModel',
      hidden:true,
      meta: { title: 'addCarModel' }
    },
    {
      path: 'editCarModel',//车型管理-编辑
      component: () => import('@/views/after-sale/systemManage/carModel/addCarModel'),
      name: 'editCarModel',
      hidden:true,
      meta: { title: 'editCarModel' }
    },
    {
      path: 'authority',//权限管理
      component: () => import('@/views/after-sale/systemManage/authority/index'),
      name: 'authority',
      meta: { title: 'authority' }
    },
    {
      path: 'authorityInfo',//单独权限授权
      component: () => import('@/views/after-sale/systemManage/authority/authorityInfo'),
      hidden: true,
      name: 'authorityInfo',
      meta: { title: 'authorityInfo' }
    },
    {
      path: 'accessories',//配件管理
      component: () => import('@/views/after-sale/systemManage/accessories/index'),
      name: 'accessories',
      meta: { title: 'accessories' }
    },
    {
      path: 'addAccessories',//配件管理-新增
      component: () => import('@/views/after-sale/systemManage/accessories/addAccessories'),
      hidden:true,
      name: 'addAccessories',
      meta: { title: 'addAccessories' }
    },
    {
      path: 'editAccessories',//配件管理-编辑
      component: () => import('@/views/after-sale/systemManage/accessories/addAccessories'),
      hidden:true,
      name: 'editAccessories',
      meta: { title: 'editAccessories' }
    },
    {
      path: 'log',//日志管理
      component: () => import('@/views/after-sale/systemManage/log/index'),
      name: 'log',
      meta: { title: 'log' }
    },
    {
      path: 'advert',//广告管理
      component: () => import('@/views/after-sale/systemManage/advert/index'),
      name: 'advert',
      meta: { title: 'advert' }
    }
    ,
    {
      path: 'project',//项目管理
      component: () => import('@/views/after-sale/systemManage/project/index'),
      name: 'project',
      meta: { title: 'project' }
    },
    {
      path: 'addProject',//项目管理-新增
      component: () => import('@/views/after-sale/systemManage/project/addProject'),
      name: 'addProject',
      hidden:true,
      meta: { title: 'addProject' }
    },
    {
      path: 'editProject',//项目管理-编辑
      component: () => import('@/views/after-sale/systemManage/project/addProject'),
      name: 'editProject',
      hidden:true,
      meta: { title: 'editProject' }
    },
    {
      path: 'dictionary',//字典管理
      component: () => import('@/views/after-sale/systemManage/dictionary/index'),
      name: 'dictionary',
      meta: { title: 'dictionary' }
    }
  ]
}

export default activity
